<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/base/thesisApply.js"></script>
<script type="text/javascript">
	$(function() {
		var major = ${major};
		var disabled = ${disabled};
		thesisApplyDataGrid('${pageContext.request.contextPath}',major,disabled);
	});
</script>
<!-- Data List -->
<div class="easyui-layout" fit="true" id="thesisApply-mainBody">
	
	<!-- Search panel start -->
<!-- 	<div data-options="region:'north',title:'',border:false"
		style="overflow:hidden;padding:10px;" align="center" split="true">
	</div> -->
	<!--  Search panel end -->

	<!-- Data List -->
	<div data-options="region:'center',border:false" style="padding: 5px; height: 80%">
		<table id="thesisApply-data-list"></table>
	</div>
	
	<!-- Edit Win&Form -->
	<div id="thesisApply-edit-win" class="imoia_pop" style="width: 440px;">
		<div class="imoia_pop_title">
			<strong id="thesisApply-win-title">论文课题申报</strong><span class="imoia_pop_closed"
				onClick="popClosed('thesisApply-edit-win')">关闭</span>
		</div>
		<form id="thesisApply-info-form" class="ui-form" method="post">
			<div class="imoia_pop_con">
				<input type="hidden" name="id">
				<input id="thesisApply_majorId" type="hidden" name="majorId">
				<ul>
					<li>
						<strong>专业名称:</strong>
						<span><input class="imoia_intxt" type="text" id="thesisApply_majorname" name="majorname" readonly /></span>
					</li>
					<li>
						<strong>课题名称:</strong>
						<span><input class="imoia_intxt easyui-combobox" type="text" id="thesisApply_thesisId" name="thesisId" style="width: 200px"
						data-options="required:true,missingMessage:'请选择课题.',editable:false,panelHeight:100"  /></span>
					</li>
					<li>
						<strong>指导教师:</strong>
						<span><input class="imoia_intxt easyui-combobox" type="text" id="thesisApply_teacherId" name="teacherId" style="width: 200px"
						data-options="required:true,missingMessage:'请选择专业.',editable:false,panelHeight:100"  /></span>
					</li>
					<li>
						<strong>备注：</strong>
						<span><textarea id="thesisApply_remark" name="remark"
								 rows="100" cols="100" class="imoia_textarea"
								 style="min-width:200px; max-width:200px; max-height:100px;">
						</textarea></span>
					</li>
				</ul>
			</div>
			<div class="imoia_pop_btn">
				<span><input type="button" id="thesisApply-save" value="课题提交" class="imoia_pop_btn_save"
					onClick="thesisApplySave('${pageContext.request.contextPath}/student/addOrUpdateThesisApply.do')" />
				</span>
				<span><input type="button" id="thesisApply-close" value="关闭" class="imoia_pop_btn_closed" 
					onClick="popClosed('thesisApply-edit-win')" />
				</span>
			</div>
			<div class="imoia_pop_error" id="thesisApply-edit-error">
				<p></p>
			</div>
			<div class="imoia_pop_correct" id="thesisApply-edit-info">
				<p></p>
			</div>
		</form>
	</div>
</div>

